<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>js文件的引用</title>
    <style>
        .c1{
            width: 240px;
            background-color: #ebccd1;
            margin: 0 auto;
        }
    </style>
</head>
<body>
    <div class="c1" onclick="f1()">
        js文件的引用
    </div>
    <script src="static/js/js文件的引用.js"></script>
</body>
</html>